package com.hezhi.project.module.student.domain;

import java.util.ArrayList;
import java.util.List;

import com.hezhi.framework.web.domain.BaseEntity;
import com.hezhi.project.module.classes.domain.Classes;
import com.hezhi.project.module.parent.domain.Parent;
import com.hezhi.project.module.studentIc.domain.StudentIc;

/**
 * 学生表 db_student
 * 
 * @author hezhi
 * @date 2018-08-06
 */
public class Student extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/** 学号 */
	private String studentNumber;
	/** 姓名 */
	private String name;
	/** 性别 */
	private String sex;
	/** 班级编号 */
	private String classNumber;
	/** 状态 */
	private String status;
	/** 班级对象 */
	private Classes classes;
	/** 家长对象 */
	private List<Parent> parents = new ArrayList<>();
	/** IC卡对象 */
	private StudentIc studentIc = new StudentIc();

	/**
	 * 设置：学号
	 */
	public void setStudentNumber(String studentNumber) 
	{
		this.studentNumber = studentNumber;
	}
	
	/**
	 * 获取：学号
	 */
	public String getStudentNumber() 
	{
		return studentNumber;
	}
	
	/**
	 * 设置：姓名
	 */
	public void setName(String name) 
	{
		this.name = name;
	}
	
	/**
	 * 获取：姓名
	 */
	public String getName() 
	{
		return name;
	}
	
	/**
	 * 设置：性别
	 */
	public void setSex(String sex) 
	{
		this.sex = sex;
	}
	
	/**
	 * 获取：性别
	 */
	public String getSex() 
	{
		return sex;
	}
	
	/**
	 * 设置：班级编号
	 */
	public void setClassNumber(String classNumber) 
	{
		this.classNumber = classNumber;
	}
	
	/**
	 * 获取：班级编号
	 */
	public String getClassNumber() 
	{
		return classNumber;
	}
	
	/**
	 * 设置：状态
	 */
	public void setStatus(String status) 
	{
		this.status = status;
	}
	
	/**
	 * 获取：状态
	 */
	public String getStatus() 
	{
		return status;
	}

	public Classes getClasses() {
		return classes;
	}

	public void setClasses(Classes classes) {
		this.classes = classes;
	}

	public List<Parent> getParents() {
		return parents;
	}

	public void setParents(List<Parent> parents) {
		this.parents = parents;
	}

	public StudentIc getStudentIc() {
		return studentIc;
	}

	public void setStudentIc(StudentIc studentIc) {
		this.studentIc = studentIc;
	}
	
}
